package jedis;

import redis.clients.jedis.Jedis;

/**
 * @author ifonly
 * @version 1.0 2016-02-01 13:49
 * @since JDK 1.6
 */
public class RedisJava {

    public static void main(String[] args) {
        Jedis jedis = new Jedis("10.211.55.4");
        System.out.println("Connection to server successfully");
        //查看服务是否运行
        System.out.println("Server is running: "+jedis.ping());
    }

}
